package com.totoro.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.totoro.dao.BaseHibernateDao;
import com.totoro.dao.TutorDao;
import com.totoro.domain.Tutor;
/*
 * 指导老师Service
 */
@Service
public class TutorService extends BaseService<Tutor, Integer> {

	private TutorDao tutorDao;

	public TutorService() {
	}

	@Autowired
	@Override
	public void setBaseDao(BaseHibernateDao<Tutor, Integer> tutorDao) {
		// TODO Auto-generated method stub
		this.baseDao = tutorDao;
		this.tutorDao = (TutorDao) tutorDao;
	}

}
